﻿using System.Collections.Generic;

namespace ProgressTracker.WebUI.Models.Task
{
    public class IndexViewModel
    {
        public IEnumerable<Domain.Task> CurrentTasks { get; set; }
        public AddNewTaskModel NewTaskModel { get; set; }

        public bool IsEmpty
        {
            get 
            {
                return CurrentTasks == null && NewTaskModel == null;
            }
        }
    }
}